    <%@ page language="java" contentType="text/html; charset=utf-8"
             pageEncoding="utf-8"%>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
        <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
		
		<%@page import="com.sentiment.config.Config" %>
		
		<%String cp = Config.projectRootPath; %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
    <meta name="author" content="Muhammad Usman">

    <!-- The styles -->
    <link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet">

    <link href="css/charisma-app.css" rel="stylesheet">
    <link href='bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
    <link href='bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
    <link href='bower_components/chosen/chosen.min.css' rel='stylesheet'>
    <link href='bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
    <link href='bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
    <link href='bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
    <link href='css/jquery.noty.css' rel='stylesheet'>
    <link href='css/noty_theme_default.css' rel='stylesheet'>
    <link href='css/elfinder.min.css' rel='stylesheet'>
    <link href='css/elfinder.theme.css' rel='stylesheet'>
    <link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
    <link href='css/uploadify.css' rel='stylesheet'>
    <link href='css/animate.min.css' rel='stylesheet'>

    <!-- jQuery -->
    <script src="bower_components/jquery/jquery.min.js"></script>
    <link rel="shortcut icon" href="img/favicon.ico">
    <script >
        function deleteMultiple(){
            confirm("是否确认删除已选项?");
        }
    </script>
</head>
<body>
<div class="box-content">

    <table class="table table-striped table-bordered">
        <thead>
        <tr>
            <!-- <th>状态</th> -->
            <th>舆情内容</th>
            <th>发布时间</th>
            <th>操作员</th>
            <th>操作</th>
            <th><button onclick="deleteMultiple()"><i class="glyphicon glyphicon-trash icon-white"></i>
                删除多条</button>
                <input type="radio" id="choose_all" checkd="unchecke" onclick="choose()">全选
            </th>

        </tr>
        </thead>
        <tbody>
        <tr>
            <td>平邑县征地拆迁事件</td>
            <td class="center">2015/09/15</td>
            <td class="center">admin</td>
            <!--<td class="center">
               <span class="label-success label label-default">Active</span>
           </td> -->
            <td class="center">
                <a class="btn btn-success" href="../WebPage/jsp/hotSentimentDetail.jsp" target="_self">
                    <i class="glyphicon glyphicon-zoom-in icon-white"></i>
                    查看
                </a>
                <!--  <a class="btn btn-info" href="#">
                    <i class="glyphicon glyphicon-edit icon-white"></i>
                    Edit
                </a> -->
                <a class="btn btn-danger" href="#">
                    <i class="glyphicon glyphicon-trash icon-white"></i>
                    删除
                </a>
            </td>
            <td>
                <input type="checkbox" name="choose">选择
            </td>
        </tr>
        <tr>
            <td>学生扶老人反被诬陷</td>
            <td class="center">2015/09/013</td>
            <td class="center">Member</td>
            <!--<td class="center">
                <span class="label-success label label-default">Active</span>
            </td> -->
            <td class="center">
                <a class="btn btn-success" href="../webpage/jsp/hotSentimentDetail.jsp">
                    <i class="glyphicon glyphicon-zoom-in icon-white"></i>
                    查看
                </a>
                <!--  <a class="btn btn-info" href="#">
                     <i class="glyphicon glyphicon-edit icon-white"></i>
                     Edit
                 </a> -->
                <a class="btn btn-danger" href="#">
                    <i class="glyphicon glyphicon-trash icon-white"></i>
                    删除
                </a>
            </td>
            <td>
                <input type="checkbox" name="choose">选择
            </td>
        </tr>
        <tr>
            <td>平邑县征地拆迁事件</td>
            <td class="center">2015/09/15</td>
            <td class="center">admin</td>
            <td class="center">
                <a class="btn btn-success" href="../WebPage/jsp/hotSentimentDetail.jsp" target="_self">
                    <i class="glyphicon glyphicon-zoom-in icon-white"></i>
                    查看
                </a>
                <a class="btn btn-danger" href="#">
                    <i class="glyphicon glyphicon-trash icon-white"></i>
                    删除
                </a>
            </td>
            <td>
                <input type="checkbox" name="choose">选择
            </td>
        </tr>
        <tr>
            <td>学生扶老人反被诬陷</td>
            <td class="center">2015/09/013</td>
            <td class="center">Member</td>
            <td class="center">
                <a class="btn btn-success" href="../webpage/jsp/hotSentimentDetail.jsp">
                    <i class="glyphicon glyphicon-zoom-in icon-white"></i>
                    查看
                </a>
                <a class="btn btn-danger" href="#">
                    <i class="glyphicon glyphicon-trash icon-white"></i>
                    删除
                </a>
            <td>
                <input type="checkbox" name="choose">选择
            </td>
            </td>
        </tr>
        </tbody>
        </table>
        <div style="width:200px">
            <input placeholder="Search" class="search-query form-control col-md-10" name="query" type="text">
        </div>

</div>
</body>
</html>
<script>
    var checkbox=document.getElementsByTagName("input");
    var choose_all=document.getElementById('choose_all');
    var a=1;
    choose_all.addEventListener('click',function(){
        if(a==1){
            for(var i=0;i<checkbox.length;i++){
                if(checkbox[i].name=='choose'){
                    checkbox[i].checked=1;
                }
            }
            a=0;
        }
        else{
            for(var i=0;i<checkbox.length;i++){
                if(checkbox[i].name=='choose'){
                    checkbox[i].checked=0;
                }
            }
            a=1;
        }
    })

</script>